@font-face {
    font-family: "iconfont"; /* Project id 2516453 */
    src: url("//at.alicdn.com/t/font_2516453_g6qjhhqblt9.woff2?t=1620545333370")
    format("woff2"),
    url("//at.alicdn.com/t/font_2516453_g6qjhhqblt9.woff?t=1620545333370")
    format("woff"),
    url("//at.alicdn.com/t/font_2516453_g6qjhhqblt9.ttf?t=1620545333370")
    format("truetype");
}

.iconfont {
    font-family: "iconfont" !important;
    font-size: 16px;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -webkit-text-stroke-width: 0.2px;
    -moz-osx-font-smoothing: grayscale;
}

.ad {
    width: 100%;
    height: 60px;
    background-color: #fff;
    border-radius: 10px;
    box-sizing: border-box;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-size: 16px;
    color: #353535;
    box-shadow: 2px 1px 8px 1px rgb(228, 232, 235);
    margin: 40px auto;

    i {
        color: #ff6146;
        font-size: 20px;
        margin-right: 10px;
    }

    .content{
        flex: 1;
        overflow: hidden;
        span {
            display: block;
            width: auto;
            white-space: nowrap;
            }
    }
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

.content{
    span{
        animation: marquee 30s linear infinite;
    }
}
span {
    display: block;
    width: auto;
    white-space: nowrap;
    animation: marquee 30s linear infinite;
    padding-left: 105%;
    padding-right: 120%;

    &:hover {
        animation-play-state: paused;
    }
}